CFLAG = -std=c++11 -I ../include
LFLAG = -L ../lib -lmuduo_net -lmuduo_base -pthread

all : translate_server translate_client

translate_server : translate_server.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG)

translate_client : translate_client.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG)

.PHONY : clean
clean :
	rm -rf translate_server translate_client